package com.ruoyi.repn.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 年报信息对象 report_info
 * 
 * @author cpf
 * @date 2024-03-02
 */
public class ReportInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关联用户id */
    @Excel(name = "关联用户id")
    private Long userId;

    /** 姓名 */
    @NotBlank(message = "姓名不能为空")
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @NotBlank(message = "手机号不能为空")
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 身份证 */
    @NotBlank(message = "身份证不能为空")
    @Excel(name = "身份证")
    private String idNumber;

    /** 员工人数 */
    @Excel(name = "员工人数")
    private Long employeeCount;

    /** 年营业额 */
    @Excel(name = "年营业额")
    private BigDecimal annualTurnover;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String enterpriseName;

    /** 企业法人 */
    @Excel(name = "企业法人")
    private String enterpriseLegalPerson;

    /** 企业统一社会信用代码 */
    @Excel(name = "企业统一社会信用代码")
    private String creditCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setEmployeeCount(Long employeeCount) 
    {
        this.employeeCount = employeeCount;
    }

    public Long getEmployeeCount() 
    {
        return employeeCount;
    }
    public void setAnnualTurnover(BigDecimal annualTurnover) 
    {
        this.annualTurnover = annualTurnover;
    }

    public BigDecimal getAnnualTurnover() 
    {
        return annualTurnover;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setEnterpriseLegalPerson(String enterpriseLegalPerson) 
    {
        this.enterpriseLegalPerson = enterpriseLegalPerson;
    }

    public String getEnterpriseLegalPerson() 
    {
        return enterpriseLegalPerson;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("phoneNumber", getPhoneNumber())
            .append("idNumber", getIdNumber())
            .append("employeeCount", getEmployeeCount())
            .append("annualTurnover", getAnnualTurnover())
            .append("enterpriseName", getEnterpriseName())
            .append("enterpriseLegalPerson", getEnterpriseLegalPerson())
            .append("creditCode", getCreditCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
